<template>
  <xtx-bread>
    <xtx-bread-item to="/">首页</xtx-bread-item>
    <xtx-bread-item :to="`/category/${subFilter.parentId}`">{{
      subFilter.parentName
    }}</xtx-bread-item>
    <xtx-bread-item>{{ subFilter.name }}</xtx-bread-item>
  </xtx-bread>
</template>

<script>
import {} from 'vue'
export default {
  name: 'SubBread',
  props: {
    subFilter: {
      type: Object,
      default: () => ({})
    }
  },
  setup() {
    return {}
  }
}
</script>
<style scoped lang="less"></style>
